import com.cuc.services.FielService;
import com.cuc.services.Userservice;
import com.cuc.util.SpringConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test05 {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(SpringConfig.class);
        FielService fiel01 = context.getBean(FielService.class);

        fiel01.getData();
    }
}
